﻿<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>博和利报表设计器</title>
		<link href="../ext3.0/css/ext-all.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="../ext3.0/js/ext-base.js"></script>
		<script type="text/javascript" src="../ext3.0/js/ext-all.js"></script>
		<script type="text/javascript" src="../ppdesinger/localjs/logo.js"></script>
		<script type="text/javascript" src="../ext3.0/js/TabCloseMenu.js"></script>
		<script type="text/javascript" src="../ext3.0/js/FileUploadField.js"></script>
		<link href="../ppdesinger/localjs/local_dragresize.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="../ppdesinger/localjs/jquery-1.3.2.js"></script>	
		<script type="text/javascript" src="../ppdesinger/localjs/local_dragresize1.js"></script>	
		<script type="text/javascript" src="../ppdesinger/localjs/local_extendDrag.js"></script>
		<script type="text/javascript" src="../ppdesinger/localjs/local_PpObject.js"></script>
		<script type="text/javascript" src="../ppdesinger/localjs/local_PpObjectFunction.js"></script>
		<script type="text/javascript" src="../ppdesinger/localjs/local_Pppro.js"></script>
		<script type="text/javascript" src="../ppdesinger/localjs/local_PpObjectCreateNode.js"></script>
	</head>
	<body>
		<div id="content"></div>
		<script>
		Ext.onReady(function(){
		var dragresize = new PPdesinger({
			title:"盼盼设计器",
			width:1200,
			height:800,
			howCreateForm:{
				isNewForm:false,
				isRedisplayForm:true,
				isModifyForm:false	//true,表示进入修改页面
			},
			toolbar:{
				新建:true,
				保存:true,
				返回:true,
				checkbox:true,
				button:true,
				radiobox:true,
				label:true,
				textfield:true,
				numberfield:true,
				textarea:true,
				datefield:true,
				linex:true,
				liney:true,
				imag:true,
				background:true,
				htmleditor:true
			},
			
			 menu:
				{
					插入表格:true,
					字体:true,
					颜色:true,
					字体:true,
					字形:true,
					字号:true,
					标尺线:true,
					打开本地:true,
					另存本地:true
				}
		}); 
		
	 
	 var xmlValue = '<?xml version="1.0" encoding="UTF-8"?><form title="" formwidth="1673" formheight="1123"><item i_id="cfz_radiobox4" i_type="radiobox" i_x="44" i_y="64" i_code="code4" i_tabseq="4" i_width="500" i_height="50" i_readonly="true" i_style="{color:&quot;000000&quot;,fontSize:&quot;12px&quot;, fontWeight:&quot;normal&quot;,fontFamily:&quot;宋体&quot;}" i_items="[{boxLabel:&quot;选项一&quot;,name:&quot;code4&quot;,columnWidth:&quot;0.5&quot;},{boxLabel:&quot;选项二&quot;,name:&quot;code4&quot;,columnWidth:&quot;0.5&quot;}]" i_value=""/></form>';


		 moveobjectcfz.now_Object.newForm("title",1111,777,xmlValue).render("mydiv");
	    dragresize.createFormItemByLoad(xmlValue,"df","Ext.getCmp('_newform_id')");
	 

	
	
});

		
     	</script>
		<form action="${pageContext.request.contextPath}/ppdesingerInsertTable.cfz" method="post" id="newForm_">
			<input type="hidden" name="id" value="${id}"/>
			<input type="hidden" name="form_name" id="form_name"/> 
			<input type="hidden" name="form_content"  id="form_content"/> 
			<input type="hidden" name="tablename"  value="t_form"/> 
			
		</form>
		
		<div id="mydiv"></div>
	</body>
</html>
